<template>
  <div>
    <button @click="btnClick">调用接口</button>
    <el-date-picker type="date" placeholder="选择日期" />
    <hr />
    <svg-icon icon-class="dashboard" style="font-size: 40px" />
    <svg-icon icon-class="example" style="font-size: 40px" />
  </div>
</template>

<script>
import { sysLogin } from '@/api/home'
export default {
  methods: {
    async btnClick () {
      const res = await sysLogin({
        mobile: '19820000018',
        password: '123456'
      })
      console.log(res)
    }
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
<style lang="scss"></style>
